<?php

class Soul_Model_Property_Timestamp extends Soul_Model_Property_Base {

    public function __construct() {
        parent::__construct();
    }

    public function convertToDb($value) {
        if (empty($value)) {
            return NULL;
        }
        return $value;
    }

    public function getPropertyType() {
        return 'timestamp';
    }

    public function getParameterType() {
        return 's';
    }

}